Return TRUE if all the data got eaten by header_buf, instead of FALSE.
authorElliot Lee <sopwith@src.gnome.org>
Tue, 2 Nov 1999 20:20:05 +0000 (20:20 +0000)
committerElliot Lee <sopwith@src.gnome.org>
Tue, 2 Nov 1999 20:20:05 +0000 (20:20 +0000)
Return TRUE if all the data got eaten by header_buf, instead of FALSE.

gdk-pixbuf/gdk-pixbuf-loader.c
gtk/gdk-pixbuf-loader.c

index 160d139840cbc9a2b739f5220945f6eb8276e0da..b8e09864181bdae2d5e7f17d06fa4b259f9c3247 100644 (file)
@@ -332,7 +332,7 @@ gdk_pixbuf_loader_write (GdkPixbufLoader *loader, guchar *buf, size_t count)
        if (count > 0 && priv->image_module->load_increment)
                return (* priv->image_module->load_increment) (priv->context, buf, count);
 
-       return (FALSE);
+       return TRUE;
 }
 
 /**
index 160d139840cbc9a2b739f5220945f6eb8276e0da..b8e09864181bdae2d5e7f17d06fa4b259f9c3247 100644 (file)
@@ -332,7 +332,7 @@ gdk_pixbuf_loader_write (GdkPixbufLoader *loader, guchar *buf, size_t count)
        if (count > 0 && priv->image_module->load_increment)
                return (* priv->image_module->load_increment) (priv->context, buf, count);
 
-       return (FALSE);
+       return TRUE;
 }
 
 /**